# -*- coding: utf-8 -*-

"""
pip install pillow
pip install qrcode
"""

import qrcode

img = qrcode.make('http://lavenliu.cn')

with open('lavenliu.png', 'wb') as f:
    img.save(f)
